<?php
// 公共全局变量
$__MINI_GLOBAL_VERSION__ = '001 002 002 025';
$__MINI_GLOBAL_RAND_CACHE__ = -1;
$__MINI_GLOBAL_DEVICE__ = 'mp';
$__MINI_GLOBAL_PLATFORM__ = 'android';
$__MINI_GLOBAL_FRONT_VERSION__ = '';
$__MINI_GLOBAL_TENANT_ID__ = 0;
$__MINI_GLOBAL_TENANTS_ARR__ = [0,999];

$__MINI_GLOBAL_CURRENT_PLAYER_ID__ = 0;
$__MINI_GLOBAL_CURRENT_USER_ID__ = 0;
$__MINI_GLOBAL_CURRENT_USER__ = null;
$__MINI_GLOBAL_MODE__ = null;
$__MINI_GLOBAL_SCENE__ = 0;
$__MINI_GLOBAL_IP__ = '';
$__MINI_GLOBAL_IS_ADMIN_SUPER__ = false;
//$__MINI_GLOBAL_SQL_QUERY_TIMES = 0;

$__MINI_GLOBAL_PAYCODE_0__ = false;
$__MINI_GLOBAL_PAYCODE_1__ = false;
$__MINI_GLOBAL_PAYCODE_2__ = false;
$__MINI_GLOBAL_PAYCODE_3__ = false;
$__MINI_GLOBAL_PAYCODE_4__ = false;
$__MINI_GLOBAL_PAYCODE_5__ = false;
$__MINI_GLOBAL_PAYCODE_6__ = false;
$__MINI_GLOBAL_PAYCODE_7__ = false;
$__MINI_GLOBAL_PAYCODE_8__ = false;
$__MINI_GLOBAL_PAYCODE_9__ = false;
$__MINI_GLOBAL_PAYCODE_10__ = false;
$__MINI_GLOBAL_PAYCODE_11__ = false;
$__MINI_GLOBAL_PAYCODE_12__ = false;
$__MINI_GLOBAL_PAYCODE_13__ = false;
$__MINI_GLOBAL_PAYCODE_14__ = false;
$__MINI_GLOBAL_PAYCODE_15__ = false;
$__MINI_GLOBAL_PAYCODE_16__ = false;
$__MINI_GLOBAL_PAYCODE_17__ = false;
$__MINI_GLOBAL_PAYCODE_18__ = false;
$__MINI_GLOBAL_PAYCODE_19__ = false;
$__MINI_GLOBAL_PAYCODE_20__ = false;
$__MINI_GLOBAL_PAYCODE_21__ = false;
$__MINI_GLOBAL_PAYCODE_22__ = false;
$__MINI_GLOBAL_PAYCODE_23__ = false;
$__MINI_GLOBAL_PAYCODE_24__ = false;
$__MINI_GLOBAL_PAYCODE_25__ = false;
$__MINI_GLOBAL_PAYCODE_26__ = false;
$__MINI_GLOBAL_PAYCODE_27__ = false;
$__MINI_GLOBAL_PAYCODE_28__ = false;
$__MINI_GLOBAL_PAYCODE_29__ = false;
$__MINI_GLOBAL_PAYCODE_30__ = false;
$__MINI_GLOBAL_PAYCODE_31__ = false;
$__MINI_GLOBAL_PAYCODE_32__ = false;
$__MINI_GLOBAL_PAYCODE_33__ = false;
$__MINI_GLOBAL_PAYCODE_34__ = false;
$__MINI_GLOBAL_PAYCODE_35__ = false;
$__MINI_GLOBAL_PAYCODE_36__ = false;


$__MINI_GLOBAL_REQUEST_ENV__ = str_contains($_SERVER['REQUEST_URI'] ?? '', '/api/') ? 'api' : 'web';
if (file_exists(__DIR__.'/../license.php')) {
    require __DIR__.'/../license.php';
}
